A simple interface can be set up for selecting a facility from a list of facilities in a UIS.
Using the List Box control sets the view’s facility property accordingly and restarts the view.
Note: This functionality can also be achieved using a Facility Navigation Bar.
Using a List Box Control to Enable Selection of a Facility from a UIS Facilities List
|
Sub listFacilities_EventInitialize() Dim This : Set This = listFacilities This.AddString("MYFACILITY1") This.AddString("MYFACILITY2") This.AddString("MYFACILITY3") End Sub |
|
Sub listFacilities_EventChange() Dim This : Set This = listFacilities TheView.Facility = This.Value TheView.Restart End Sub |